﻿using NUnit.Framework;
using TestDrivenDevelopment.Models;

namespace TestDrivenDevelopment.Fixture.Models
{
    public class TaskRepositorySpec
    {
        [Test]
        public void GetTasks_LoadTwoStrings()
        {
            //Arrange
            TaskRepository repository = new TaskRepository();
            //Act
            var strings = repository.GetTasks();
            //Assert
            Assert.AreEqual(2, strings.Length);
        }
    }
}
